{include file="common/header.tpl"}    
    <div id="vfriendContainer">
        <div id="mainContent3C">
            <div class="vfriendContainer3C">
                <div class="vfriendContent3C">
                	<div class="leftCol">  
                    	{include file="place/box-navigation.tpl"}               	
                    </div>
                    <div class="rightCol">
                        <div class="midCol">
                        	<div class="boxPlace">
                            	<div class="headerTitle">
                                	<h3>Ăn chơi trong tuần</h3>
                                    <div class="filter">
                                    	<form method="get" name="frmFilter" id="frmFilter" enctype="multipart/form-data" action="{$smarty.const.HOST_VFRIEND}place/inweek">
                                            <div class="userInput">
                                                <label>Khu vực</label>
                                                <div>
                                                    <select class="select" name="province" onchange="this.form.submit();">
                                                        <option value="0">Tất cả</option>
                                                        {html_options options=$arrProvince selected=$intProvince}
                                                    </select>
                                                </div>
                                            </div>
                                        </form>
                                    </div>
                               	</div>
                                <div class="placeItem">                                	
                                    {if $intTotal}
                                        <ul>
                                            {foreach key=i item=place from=$places}
                                                <li {if $i==0}class="firstChild"{/if}>                                       	
                                                    {image path=$place.image type=7 small=1 class="border130 rFloat" alt=$place.name|escape id=$place.placeid title=$place.name|escape}
                                                    <div class="info">
                                                        <h3><a href="{link_place placeid=$place.placeid title=$place.name}">{$place.name}</a></h3>
                                                        {star point=$place.tpoint person=$place.tperson}
                                                        <div class="addr">{$place.addr}, {$place.district_name}, {$place.province_name}</div>
                                                        <div class="stat">
                                                            <span class="plLike"><strong>{$place.tlike|number_format}</strong> thích</span>
                                                            <span class="plCmt"><strong>{$place.tcmt|number_format}</strong> nhận xét</span>
                                                            <span class="plStar"><strong>{$place.tperson|number_format}</strong> đánh giá</span>
                                                        </div>
                                                    </div>
                                                </li>
                                            {/foreach}
                                         </ul>
                                    {/if}
                                </div>
                                {if $intTotal > $intLimit}
									{paging total=$intTotal limit=$intLimit offset=$intOffset url=$strUrl}
								{/if}
                            </div>
                    	</div>                        
                   	</div>
               	</div>
            </div>
        </div>
    </div>   
{include file="common/footer.tpl"}
